// 银行到款管理
export const BankCashArrivalThead = [
  {
    title: '费用月份',
    key: 'feeDate',
    render: (h, params) => {
      const month = params.row.feeDate < 10 ? '0' + params.row.feeDate : params.row.feeDate
      const text = month.substring(0, 4) + month.substring(4, 6)
      return h('span', text)
    }
  },
  {
    title: '客户名称',
    key: 'customerName',
    minWidth: 200
  },
  {
    title: '到款日期',
    key: 'receiveDate',
    minWidth: 150,
    render: (h, params) => {
      const text = (params.row.receiveDate).slice(0, 10)
      return h('span', text)
    }
  },
  {
    title: '到款银行',
    key: 'bankName',
    minWidth: 150
  },
  {
    title: '到款金额',
    key: 'trueArriveTotal',
    minWidth: 150
  }
]
